import axios from 'axios'
// 创建实例时配置默认值
const instance = axios.create({
    baseURL: 'https://api.example.com',
    timeout:10000
  });
  
  // 创建实例后修改默认值
//   instance.defaults.headers.common['Authorization'] = AUTH_TOKEN;